package com.lh.project.common;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class RedisData <T> {
    private LocalDateTime expireTime;
    private Object data;
    //或者使用泛型,但是扩展性不强
//    private List<T> data;
}
